Ext.define('Admin.view.organization.OrganizationPieChartController', {
    extend: 'Ext.app.ViewController',
    alias: 'controller.organizationPieChartController',

    onDataRender: function(v) {
        return v + '%';
    },

    onPieTooltipRender: function(tooltip, record, item) {
        tooltip.setHtml(record.get('name') + ': ' + record.get('count') + '人');
    }

});